package com.yudaxian.sys.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author yudaxian
 * @since 2023-12-01
 */
@TableName("x_sensor")
public class Sensor implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private String sensorNumber;

    private String sensorName;

    private String sensorType;

    private Date sensorGenerateTime;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }
    public String getSensorNumber() {
        return sensorNumber;
    }

    public void setSensorNumber(String sensorNumber) {
        this.sensorNumber = sensorNumber;
    }
    public String getSensorName() {
        return sensorName;
    }

    public void setSensorName(String sensorName) {
        this.sensorName = sensorName;
    }
    public String getSensorType() {
        return sensorType;
    }

    public void setSensorType(String sensorType) {
        this.sensorType = sensorType;
    }
    public Date getSensorGenerateTime() {
        return sensorGenerateTime;
    }

    public void setSensorGenerateTime(Date sensorGenerateTime) {
        this.sensorGenerateTime = sensorGenerateTime;
    }

    @Override
    public String toString() {
        return "Sensor{" +
            "id=" + id +
            ", sensorNumber=" + sensorNumber +
            ", sensorName=" + sensorName +
            ", sensorType=" + sensorType +
            ", sensorGenerateTime=" + sensorGenerateTime +
        "}";
    }
}
